import request from "@/utils/request";

// 客户登录
export const customerLogin = (data: any) =>
  request({
    url: "/api/customer/api/login",
    method: "POST",
    data,
  });
export const findOrderList = (params: any) =>
  request({
    url: "/api/customer/api/order/list",
    method: "GET",
    params,
  });
// 获取货柜列表
export const findCustomerCounter = (params: any) =>
  request({
    url: "/api/customer/api/counter/list",
    method: "GET",
    params,
  });
export const getCustomerInfo = () =>
  request({
    url: "/api/customer/api/user/info",
    method: "GET",
  });
